
<div class="layui-form-item uploadImageBox">
    <label class="layui-form-label">{$form.title}</label>

    <div class="layui-input-block">
        <div class="layui-tab-item layui-show" style="width: 260px;">
            <div class="layui-upload-drag uploadImage">
                <i class="layui-icon"></i>
                <p>点击上传，或将文件拖拽到此处</p>
                <div>
                    <hr>
                    <img src="<?php echo isset($info)?$info[$form['field']]:'';?>"  class="layui-upload-img showImage" alt="上传成功后渲染" style="max-width: 100%">
                    <input type="hidden" name="{$form.field}" value="<?php echo isset($info)?$info[$form['field']]:'';?>" class="inpImage"/>
                </div>
            </div><input class="layui-upload-file" type="file" accept="" name="file">
        </div>

    </div>
</div>